{%- for action in record_actions %}    
    <a href="{{ "{{ path('"~ route_name_prefix ~"_"~ action ~"', { 'id': entity.id }) }}" }}" class="button small">{% if (action == 'edit') %}Editar{% endif %}{% if (action == 'show') %}Ver{% endif %}</a>
{%- endfor %}


